package com.yystar.support.sysinfo.dao.impl;


import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Repository;

import com.yystar.support.sysinfo.dao.SysInfoDao;
import com.yystar.support.sysinfo.domain.SysInfo;

@Repository
public class SysInfoDaoImpl extends SqlSessionDaoSupport implements SysInfoDao {
	@Cacheable("sysInfo")
	@Override
	public SysInfo getValue(String code) {
		return (SysInfo) getSqlSession().selectOne("com.yystar.support.sysinfo.dao.SysInfoDao.getValue", code);
	}

}
